package com.tchintech.pay.delegate;

import android.view.View;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;

import com.tchintech.pay.R;
import com.tchintech.pay.frame.view.AppDelegate;
import com.tchintech.pay.utils.PullToRefreshView;

import butterknife.Bind;

/**
 * Created by Administrator on 2017/8/31 0031.
 */

public class AllMoneyDelegate extends AppDelegate {
    @Bind(R.id.lv_money)
    ListView lv_money;
    @Bind(R.id.iv_back)
    ImageView back;
    @Bind(R.id.tv_title)
    TextView tv_title;
    @Bind(R.id.pull_refresh)
    PullToRefreshView pull_refresh;
    @Override
    public int getRootLayoutId() {
        return R.layout.activity_allmoney;
    }

    public ListView getListView() {
        return lv_money;
    }

    public PullToRefreshView getPull(){
        return  pull_refresh;
    }
    public void setTitles(String str){
        tv_title.setText(str);
        back.setVisibility(View.VISIBLE);
    }
}
